<?php
class AbonadosPromocionModel extends Zwei_Db_Table
{
	protected $_name = "promociones";
	protected $_primary = "id_promo";
    protected $_adapter = "an";
    	
	public function select()
	{
		$this->setAdapter("dn");
		$select = new Zend_Db_Table_Select($this);
        $select->from($this->_name);
        return $select;
	}
	
	public function insert($data)
	{
		$this->setAdapter("an");
		return parent::insert($data);
	}
	
	public function update($data, $where)
	{
		$this->setAdapter("an");
		return parent::update($data, $where);
	}
	
	public function delete($where)
	{
		$this->setAdapter("an");
		return parent::delete($where);
	}
	
}